/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import domain.pojo.Apartment;
import java.util.List;

/**
 *
 * @author lion
 */
public abstract class ApartmentDao {

    public abstract List<Apartment> getApartments();

    public abstract Apartment getApartment(int apartmentId);

    public abstract Integer insertApartment(Apartment apartment);

    public abstract boolean deleteApartment(Apartment apartment);

    public abstract boolean updateApartment(Apartment apartment);

}
